#pragma once
#include "conn.h"

class manager;
class front : public conn {
public:
	front();
	~front();

	void setFd(int fd);
	void setManager(manager * m);
	
	void input();
	void output();
	void timeout();

	int send(const char* msg, int msg_len);
	void close();
private:
	char buffer[10240];
	int size;
public:
	manager * boss;
	
};
